package com.wcs.exam.controller.api.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import me.chanjar.weixin.common.bean.WxOAuth2UserInfo;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author wcs
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class ApiLoginWxCodeResp extends ApiLoginResp implements Serializable {

    @Serial
    private static final long serialVersionUID = 2621609267080102065L;

    @Schema(description = "绑定状态(true已绑定，false没绑定)")
    private Boolean bindingStatus = false;

    @Schema(description = "授权信息")
    private WxOAuth2UserInfo userInfo;

}
